<?php

namespace app\common\validate;

class Product extends Base {

    protected $rule = [
        ['p_id', 'require', '当前商品id不能为空'],
        ['p_id_bc', 'require', '配件不能为空'],
        ['multiple', 'require|number', '配件比例数不能为空|销售价必须是数字'],
    ];

}
